package cn.miao.middle.cloud.log.mapper;

import javax.sql.DataSource;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.miao.middle.cloud.core.model.SysLog;

/**
 * 保存日志
 * eureka-server配置不需要datasource,不会装配bean
 * 需要配置多数据源才可以支持
 * @author kongyufei
 *
 */
@ConditionalOnBean(DataSource.class)
public interface LogMapper extends BaseMapper<SysLog>{


}
